<?php
namespace BP\DA;
require_once("java/util/HashMap.php");
require_once("java/util/Map.php");
class DataColumn {
	protected $table;	// DataTable
	public $ColumnName;	// String
	public $oldColumnName;	// String
	public $DataType;	// Object
	protected $ordinal;	// int
	public $ExtendedProperties;	// Properties
	private function __init() { // default class members
		$this->ExtendedProperties = [];// new Properties();
	}
	public function setColumnName ($val) // [String val]
	{
		if (($this->oldColumnName . NULL))
			$this->oldColumnName = $this->ColumnName;
		$this->ColumnName = $val;
	}
	public function getDataType () 
	{
		return DataType;
	}
	public function setDataType ($dataType) // [Object dataType]
	{
		DataType = $dataType;
	}
	public static function constructor__String ($columnName) // [String columnName]
	{
		$me = new self();
		$me->__init();
		$me->ColumnName = $columnName;
		$me->oldColumnName = $columnName;
		return $me;
	}
	public static function constructor__ () 
	{
		$me = new self();
		$me->__init();
		return $me;
	}
	public static function constructor__String_Object ($columnName, $DataType) // [String columnName, Object DataType]
	{
		$me = new self();
		$me->__init();
		$me->ColumnName = $columnName;
		$me->oldColumnName = $columnName;
		$me->DataType = $DataType;
		return $me;
	}
	public static function constructor__String_Object_b ($columnName, $DataType, $cases) // [String columnName, Object DataType, boolean cases]
	{
		$me = new self();
		$me->__init();
		$me->ColumnName = $columnName;
		$me->oldColumnName = $columnName;
		$me->DataType = $DataType;
		return $me;
	}
	public static function constructor__String_Object_String ($columnName, $DataType, $str) // [String columnName, Object DataType, String str]
	{
		$me = new self();
		$me->__init();
		$me->ColumnName = $columnName;
		$me->oldColumnName = $columnName;
		$me->DataType = $DataType;
		return $me;
	}
	protected function setTable ($table) // [DataTable table]
	{
		$this->table = $table;
	}
	public function getTable () 
	{
		return $this->table;
	}
	public function toString () 
	{
		return $this->ColumnName;
	}
	public function setOrdinal ($ordinal) // [int ordinal]
	{
		$this->ordinal = $ordinal;
	}
	public function getOrdinal () 
	{
		return $this->ordinal;
	}
}
?>
